package com.newtype.meeting.shared;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

@SuppressWarnings("serial")
public class AccountTreeDTO extends BaseTreeModel {

	public AccountTreeDTO() {
		
	}

	public AccountTreeDTO(String id, String accountID, String name,
			String deptName) {
		set("id", id);
		set("accountID", accountID);
		set("name", name);
		set("deptName", deptName);
	}

	public String getId() {
		return (String) get("id");
	}

	public String getAccountID() {
		return (String) get("accountID");
	}

	public String getName() {
		return (String) get("name");
	}

	public String getDeptName() {
		return (String) get("deptName");
	}

	public String toString() {
		return getName();
	}

}
